const Host = "http://127.0.0.1:8080"

module.exports = {
  devServer: {
    proxy: {
      "/api": {
        // 需要代理的url
        target: Host,
        changeOrigin: true,
        pathRewrite: {
          "^/api": "/",
        },
      },
    },
  },
}
